package com.xd.core.business.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 紧急联系人表
 * </p>
 *
 * @author ZX
 * @since 2025-02-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="IncomingUrgentContact对象", description="紧急联系人表")
public class IncomingUrgentContact implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "进件ID")
    @TableId(value = "incoming_id", type = IdType.AUTO)
    private Integer incomingId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "手机号")
    private String phone;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    @ApiModelProperty(value = "关系")
    private String relation;


}
